﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Community.IMode;
using FantastPlatform.Framework.Core;
using FantastPlatform.Framework.IModel;
using Newtonsoft.Json;

namespace FantastPlatform.Community.Model
{
    public class HouseDistrict :Item, IHouseDistrict
    {
        public virtual double longitude { get; set; }
        public virtual double latitude { get; set; }

        public virtual string Address
        {
            get;
            set;
        }

        public virtual string Concierge
        {
            get;
            set;
        }

        public virtual string Phone
        {
            get;
            set;
        }

        public virtual Framework.IModel.IEmployee PoliceMan
        {
            get;
            set;
        }
        [JsonIgnore]
        public virtual IList<IHouseHold> HouseHolds
        {
            get;
            set;
        }

        #region IHouseDistrict 成员


        public virtual IOrganization Station
        {
            get;
            set;

        }

        public virtual IStreet Street
        {
            get;
            set;
        }

        #endregion

        #region IHouseDistrict 成员


        public virtual IOrganization ResponsibilityArea
        {
            get;
            set;
        }

        #endregion
    }
}
